#pragma once
#include "NumberEdit.h"

// CNumSpinCtrl

class CNumSpinCtrl : public CSpinButtonCtrl
{
	DECLARE_DYNAMIC(CNumSpinCtrl)

public:
	CNumSpinCtrl();
	virtual ~CNumSpinCtrl();
	virtual void SetBuddy(CNumberEdit* edit);
	virtual CNumberEdit* GetBuddy() const;
protected:
	//{{AFX_MSG(CNumSpinCtrl)
	afx_msg void OnDeltapos(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CNumberEdit* edit;
};


